namespace FieldServices_01.intrnl
{
    public class MboComponentMetaData
        : Sybase.Reflection.EntityMetaData
    {
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public MboComponentMetaData()
        {
            _init();
        }
        
        protected void _init()
        {
            SetId(3);
            SetAttributes(new Sybase.Reflection.AttributeMetaDataList());
            SetOperations(new Sybase.Reflection.OperationMetaDataList());
            SetAttributeMap(new Sybase.Reflection.AttributeMap());
            SetOperationMap(new Sybase.Reflection.OperationMap());
            Sybase.Reflection.AttributeMetaData MATERIAL_attribute = AddAttributeWithParams(68, "MATERIAL", "string", 18, false, false, false, false, false, false, "\"a\"");
            Sybase.Reflection.AttributeMetaData MATL_DESC_attribute = AddAttributeWithParams(69, "MATL_DESC", "string", 40, false, false, false, false, false, false, "\"b\"");
            Sybase.Reflection.AttributeMetaData ACTIVITY_attribute = AddAttributeWithParams(70, "ACTIVITY", "string", 4, false, false, false, false, false, false, "\"c\"");
            Sybase.Reflection.AttributeMetaData PRICE_attribute = AddAttributeWithParams(71, "PRICE", "decimal", -1, false, false, false, false, false, false, "\"d\"");
            Sybase.Reflection.AttributeMetaData PRICE_UNIT_attribute = AddAttributeWithParams(72, "PRICE_UNIT", "decimal", -1, false, false, false, false, false, false, "\"e\"");
            Sybase.Reflection.AttributeMetaData ENTRY_QUANTITY_attribute = AddAttributeWithParams(73, "ENTRY_QUANTITY", "decimal", -1, false, false, false, false, false, false, "\"f\"");
            Sybase.Reflection.AttributeMetaData CURRENCY_attribute = AddAttributeWithParams(74, "CURRENCY", "string", 5, false, false, false, false, false, false, "\"g\"");
            Sybase.Reflection.AttributeMetaData BASE_UOM_attribute = AddAttributeWithParams(75, "BASE_UOM", "string", 3, false, false, false, false, false, false, "\"h\"");
            Sybase.Reflection.AttributeMetaData PERSNO_attribute = AddAttributeWithParams(76, "PERSNO", "string", 8, false, false, false, false, false, false, "\"i\"");
            Sybase.Reflection.AttributeMetaData ORDERID_attribute = AddAttributeWithParams(77, "ORDERID", "string", 12, false, false, false, false, false, false, "\"j\"");
            Sybase.Reflection.AttributeMetaData pending_attribute = AddAttributeWithParams(20001, "pending", "boolean", -1, false, false, true, false, false, false, "\"pending\"");
            Sybase.Reflection.AttributeMetaData pendingChange_attribute = AddAttributeWithParams(20002, "pendingChange", "char", 1, false, false, true, false, false, false, "\"_pc\"");
            Sybase.Reflection.AttributeMetaData replayPending_attribute = AddAttributeWithParams(20005, "replayPending", "long", -1, false, false, true, false, false, false, "\"_rp\"");
            Sybase.Reflection.AttributeMetaData replayFailure_attribute = AddAttributeWithParams(20006, "replayFailure", "long", -1, false, false, true, false, false, false, "\"_rf\"");
            Sybase.Reflection.AttributeMetaData surrogateKey_attribute = AddAttributeWithParams(78, "surrogateKey", "long", -1, false, true, false, false, false, false, "\"l\"");
            Sybase.Reflection.AttributeMetaData replayCounter_attribute = AddAttributeWithParams(20004, "replayCounter", "long", -1, false, false, true, false, false, false, "\"_rc\"");
            Sybase.Reflection.AttributeMetaData disableSubmit_attribute = AddAttributeWithParams(20003, "disableSubmit", "boolean", -1, false, false, true, false, false, false, "\"_ds\"");
            InitAttributeMapFromAttributes();
            Sybase.Reflection.OperationMetaData FindByOder0_operation = AddOperationWithParams(47, "FindByOder", "MboComponent*", true);
            AddParameterForOperation(FindByOder0_operation, "OderID", "string");
            Sybase.Reflection.OperationMetaData GetPendingObjects1_operation = AddOperationWithParams(221, "getPendingObjects", "MboComponent*", true);
            Sybase.Reflection.OperationMetaData GetPendingObjects2_operation = AddOperationWithParams(222, "getPendingObjects", "MboComponent*", true);
            AddParameterForOperation(GetPendingObjects2_operation, "pendingChange", "char");
            Sybase.Reflection.OperationMetaData GetReplayPendingObjects3_operation = AddOperationWithParams(223, "getReplayPendingObjects", "MboComponent*", true);
            Sybase.Reflection.OperationMetaData IsNew4_operation = AddOperationWithParams(557, "isNew", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDirty5_operation = AddOperationWithParams(558, "isDirty", "boolean", false);
            Sybase.Reflection.OperationMetaData IsDeleted6_operation = AddOperationWithParams(559, "isDeleted", "boolean", false);
            Sybase.Reflection.OperationMetaData Refresh7_operation = AddOperationWithParams(560, "refresh", "void", false);
            Sybase.Reflection.OperationMetaData _pk8_operation = AddOperationWithParams(561, "_pk", "long?", false);
            Sybase.Reflection.OperationMetaData IsPending9_operation = AddOperationWithParams(562, "isPending", "boolean", false);
            Sybase.Reflection.OperationMetaData IsCreated10_operation = AddOperationWithParams(563, "isCreated", "boolean", false);
            Sybase.Reflection.OperationMetaData IsUpdated11_operation = AddOperationWithParams(564, "isUpdated", "boolean", false);
            Sybase.Reflection.OperationMetaData SubmitPending12_operation = AddOperationWithParams(565, "submitPending", "void", false);
            Sybase.Reflection.OperationMetaData CancelPending13_operation = AddOperationWithParams(566, "cancelPending", "void", false);
            Sybase.Reflection.OperationMetaData SubmitPendingOperations14_operation = AddOperationWithParams(567, "submitPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData CancelPendingOperations15_operation = AddOperationWithParams(568, "cancelPendingOperations", "void", true);
            Sybase.Reflection.OperationMetaData Save16_operation = AddOperationWithParams(569, "save", "void", false);
            Sybase.Reflection.OperationMetaData FindWithQuery17_operation = AddOperationWithParams(570, "findWithQuery", "MboComponent*", true);
            AddParameterForOperation(FindWithQuery17_operation, "query", "Sybase.Persistence.Query");
            Sybase.Reflection.OperationMetaData GetSize18_operation = AddOperationWithParams(571, "getSize", "int", true);
            AddParameterForOperation(GetSize18_operation, "query", "Sybase.Persistence.Query");
            InitOperationMapFromOperations();
            SetName("MboComponent");
            SetTable("\"fieldservices_01_1_0_mbocomponent\"");
            SetSynchronizationGroup("default");
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsEntity()
        {
            return true;
        }
        
        /// <summary>
        /// Sybase internal use only.
        /// <summary>
        public  override bool IsService()
        {
            return false;
        }
    }
}